<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
    <title th:text="#{menu.routerList}">路由器列表</title>
    <script th:src="${ctx+'/resources/js/jquery-1.9.1.min.js'}" type="text/javascript"></script>
	<script th:src="${ctx+'/resources/js/jquery.md5.js'}" type="text/javascript"></script>
	<script th:src="${ctx+'/resources/js/sweet-alert.js'}" type="text/javascript"></script>
	<link th:href="${ctx+'/resources/css/style.css'}" rel="stylesheet" type="text/css"/>
	<link th:href="${ctx+'/resources/css/sweet-alert.css'}" rel="stylesheet" type="text/css"/>
	<link rel="shortcut icon" th:href="${ctx+'/resources/images/favicon.ico'}"/>
	<script th:src="${ctx+'/resources/js/facility/facility.js'}" type="text/javascript"></script>
	<script th:src="@{/resources/js/init.js}" type="text/javascript"></script>
	<script type="text/javascript" th:inline="javascript">
		function getRouters() {
			$.ajax({
				/*获取路由器信息*/
				url:"tag/findDeviceBox.html",
				data:{callback:'content :: routers'},
				type:"get",
				success:function(result){
					$("#content").html(result);						 
				 },
				 error:function(err){
					console.log(err);
				 }
			})
		}
	</script>
</head>

		<div id="content">
<!-- 			<div id="content"></div> -->
		</div>
<script type="text/javascript">
	$(".leftNav a:nth-child(3)").css("background","#1a63be")/*设置做边栏选中效果*/
// 	$('#rightMain_title').html('路由器列表');
	$('#lableViews',window.parent.document).find("#rightMain_title").html("路由器列表");
	function lable(){
		window.location.href='lable.html';
	};
	function router(){
		window.location.href='router.html';
	};
	getRouters();
</script>
<script th:src="${ctx+'/resources/js/user/loginout.js'}" type="text/javascript"></script>
</html>